
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sistema de Gestion de Matriculas</title>
<script type="text/javascript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function validar(){
  var p = document.f1.per.value;
  var i = document.f1.ins.value;
  var c = document.f1.cos.value;

  if (p == ""){
     alert('Ingrese cantidades de personas');
     return false;
  } else if( i == ""){
     alert('Ingrese cantidad de instrumentos');
     return false;
  } else if( c == ""){
	     alert('Ingrese el costo de la sala');
	     return false;
  }
  return true;
}


//-->
</script>
<style type="text/css">
<!--
body {
	background-color: #333;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style></head>
<br>BUSQUEDA DE SALA DE ENSAYO</br>
<link href="css/stylesheet.css" rel="stylesheet" type="text/css">
<body onload="MM_preloadImages('images/menu_over_01.jpg','images/menu_over_02.jpg','images/menu_over_03.jpg','images/menu_over_04.jpg','images/menu_over_05.jpg','images/menu_over_06.jpg')">
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#000000"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="37%"><img src="images/logo.jpg" width="338" height="134" /></td>
        <td width="63%"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="73%" align="right"><input name="textfield" class="textfield" type="text" id="textfield" size="45" /></td>
                <td width="27%" align="center"><img src="images/search.jpg" width="100" height="28" border="0" usemap="#Map" /></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image2','','images/menu_over_01.jpg',1)"><img src="images/menu_01.jpg" alt="Home" name="Image2" width="103" height="62" border="0" id="Image2" /></a></td>
                <td><a href="sis_alumnos.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image3','','images/menu_over_02.jpg',1)"><img src="images/menu_02.jpg" name="Image3" width="102" height="62" border="0" id="Image3" /></a></td>
                <td><a href="sis_familiares.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image4','','images/menu_over_03.jpg',1)"><img src="images/menu_03.jpg" name="Image4" width="99" height="62" border="0" id="Image4" /></a></td>
                <td><a href="sis_horario.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image5','','images/menu_over_04.jpg',1)"><img src="images/menu_04.jpg" name="Image5" width="101" height="62" border="0" id="Image5" /></a></td>
                <td><a href="sis_matricula.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image6','','images/menu_over_05.jpg',1)"><img src="images/menu_05.jpg" name="Image6" width="102" height="62" border="0" id="Image6" /></a></td>
                <td><a href="sis_consultas.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image7','','images/menu_over_06.jpg',1)"><img src="images/menu_06.jpg" name="Image7" width="100" height="62" border="0" id="Image7" /></a></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="the">Sistema de Gestion de Matriculas</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td bgcolor="#000000" height="15"></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="33%"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="10"></td>
          </tr>
          <tr>
            <td align="center"><img src="images/business_people.jpg" width="268" height="241" /></td>
          </tr>
          <tr>
            <td align="center"><img src="images/graphical_interface.jpg" width="270" height="120" /></td>
          </tr>
        </table></td>
        <td width="1%"><img src="images/line.jpg" width="1" height="388" /></td>
        <td width="66%" valign="top">
        <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td>&nbsp;
            
            
       

 <% HttpSession sesion = request.getSession(true);
 String micorreo= request.getParameter("per");
 sesion.setAttribute("mail",micorreo);
 %>


<form name="f1" action="demo2.jsp" method="post" onSubmit=" return validar();">
<table>
  <tr><td>Cantidad Min. Personas : </td><td> <input type="text" name="per"> <br/></td></tr>
  <tr><td>Cantidad Min. Instrumentos : </td><td> <input type="text" name="ins"> <br/></td></tr>
  <tr><td>Max. Precio de la Sala : </td><td> <input type="text" name="cos"> <br/></td></tr>
  <tr><td></td><td align="right" valign="rigth" ><input type="submit" value="Buscar"></td></tr>
  </table>
</form>

